package com.thermofisher.dsc.amanda.model.dto.auth;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.thermofisher.dsc.amanda.model.po.auth.Permission;
import com.thermofisher.dsc.amanda.model.po.auth.Role;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * Created by wenjie.yang on 1/3/2019.
 */
@Getter
@Setter
public class UserDto {

  public String userName;

  @JsonIgnore
  public String password;

  public String firstName;

  @JsonIgnore
  public String lastName;

  public String phoneNumber;

  public String emailAddress;


  private String department;

  private String area;

  private Long leaderId;

  private List<Long> permissions;

  private List<Permission> permissionList;

  private List<Long> roles;

  private List<Role> roleList;

}
